<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <ul>
    <li v-for="(item,index) in person" :key="item">{{index}} -- {{item.name}} -- {{item.age}} -- {{item.address}}</li>
  </ul>
</div>


<script src="../js/vue.js"></script>
<script>
  // 1.创建Vue的实例对象
  const app = Vue.createApp({
    data(){
      return{
        person: [
          {name: '张三',age : 20,address: '北京'},
          {name: '张四',age : 21,address: '西安'},
          {name: '张五',age : 22,address: '天津'},
        ]
      }
    }
  }).mount('#app');
</script>
</body>
</html>